package com.cn.integration.business.paycenter.strategy.impl;

import com.cn.common.enums.PayChannelCodeEnum;
import com.cn.integration.business.paycenter.bo.OpenAccountBo;
import com.cn.integration.business.paycenter.bo.PayFeeBo;
import com.cn.integration.business.paycenter.strategy.PayService;
import com.cn.integration.business.paycenter.vo.OpenAccountVo;
import org.springframework.stereotype.Service;

/**
 * 浙商银行
 */
@Service
public class CzPayServiceImpl implements PayService {

    private final String payChannelCode = PayChannelCodeEnum.CZ.getCode();

    @Override
    public String getPayChannelCode() {
        return payChannelCode;
    }

    @Override
    public OpenAccountVo openAccount(OpenAccountBo bo) {
        OpenAccountVo openAccountVo = new OpenAccountVo();
        openAccountVo.setAccount("浙商account");
        openAccountVo.setAccountCode("浙商code");
        return openAccountVo;
    }

    @Override
    public String payFee(PayFeeBo bo){
        return "支付手续费成功";
    }

}
